package Tongji;
import java.util.Arrays;
import  java.util.Scanner;
public class Tongji {
        public static void main(String[] args) {
          Scanner sc = new Scanner(System.in);
          int[] a = new int[26];
          while(sc.hasNextLine()){
              String s = sc.nextLine().toLowerCase().trim();
              for(char c : s.toCharArray()){
                  a[c-'a']++;
              }
          }
          System.out.println(Arrays.toString(a));
        }
    }
